package com.vm.osm.business.dao;

import com.vm.osm.business.dto.rsp.checkPlan.RspCheckPlan;
import com.vm.osm.business.dto.rsp.checkPlan.RspCheckPlanPage;
import com.vm.osm.business.entity.OsmCheckPlan;
import io.swagger.annotations.ApiParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;
import java.util.List;

/**
 * Created by zhangshilin on 2018/1/7.
 */
public interface OsmCheckPlanMapper extends BaseDao<OsmCheckPlan,String> {

    public RspCheckPlan selectCheckPlanById(@Param("id") String id);

    public List<RspCheckPlan> findPage(@Param("enterpriseId") String enterpriseId,
            @Param("title") String title, @Param("planType") String planType,
            @Param("status") String status, @Param("startTime") Date startTime,
            @Param("endTime") Date endTime);

    public List<OsmCheckPlan> findAll();
}
